package com.o2o.controller;

import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * package_name:com.o2o.controller
 * Author:徐亚远
 * Date:2020/1/5 14:49
 * 项目名:com.o2o
 * Desription:
 **/
@Controller
public class HelloController {
    @RequestMapping(value = "/hello",method = RequestMethod.GET)
    @ResponseBody
    public String hello(){
        return "Hello World 徐亚远";
    }
}
